package com.Tian.dao;

import com.Tian.model.UserInfo;

import java.util.List;

public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer uId);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer uId);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);
    //多表联查，进行将
    List<UserInfo> query();
    //根据用户名查询
    UserInfo selectUserName(String userName);
    //根据id级联查询对象，对于三张表的查询
   UserInfo selectUserId(Integer uId);
}